<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>资讯-通知管理</title> 
<#include '/frame/version.html'> 
<#include '/frame/manage/include_css.html'> 
<#include '/frame/manage/include_js.html'> 
<#include '/frame/taglib.html'>
</head>
<body id="nv_member" class="pg_CURMODULE">
	<#assign current='menu_informationNotices'>
	<div id="wp" class="wp">
		<#include "/include/header.html"/>
		<div class="contentmanage">
			<div class="developer">
				<div class="tableContent">
					<#include "/include/left.html"/> <#include "/include/wxtop.html"/>
					<div class="content">
						<div class="cLineB">
				        <h4 class="left">
				        	资讯-通知管理
				        </h4>
				        <div class="clr">
				        </div>
						<div class="msgWrap">
						<div class="cLine">
						<div class="pageNavigator left">
						<a href="${basePath}/admin/informationNotices/add" title="新增通知" class="btnGrayS">
							 <img src="${basePath}/images/add.png" width="16" class="vm" /> 
							 新增通知
						 </a>
				<form action="${basePath}/admin/informationNotices/index" method="post">
							              时间：
							        <input class="px"  type="text" id="startDate" name="startTime" value="${startTime}"  onClick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
							                    到
							        <input class="px"  type="text" id="endDate" name="endTime" value="${endTime}"  onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss'})"/>
								   标题：
									<input class="px" type="text"  placeholder="输入名称搜索" name="title" value="${title}"/>
								 是否上架：
									<select id="status" name="status">
									  <option value="">全部</option>
									  <option value="1" <#if status==1> selected</#if>>上架</option>
									  <option value="0" <#if status==0> selected</#if>>下架</option>
									</select>
									<input class="btnGreen" type="submit" value="查询" />
								</form>
							</div>
						</div>
							<table class="ListProduct Shallow_border_color" border="0"
								cellSpacing="0" cellPadding="0" width="100%">
								<thead>
									<tr>
										<th>编号</th>
										<th>标题</th>
										<th>创建时间</th>
										<th>最新</th>
										<th>置顶</th>
										<th>上架</th>
										<th>操作</th>
									</tr>
								</thead>
								<tbody>
								
								
								<#if page?exists>
									<#list page.recordList as bean>
									<tr>
										<td valign="middle" align="center">${page.pernum*(page.currentPage-1)+bean_index+1}</td>
									    <td>${bean.title?default('')}</td>
									    <td>${(bean.createTime?string("yyyy-MM-dd HH:mm"))!} </td>
									    <td><#if bean.isNew! == 1>是<#else>否</#if></td>
									    <td><#if bean.isTop! == 1>是<#else>否</#if></td>
									    <td><#if bean.states! == 1>是<#else>否</#if></td>
										<td>
											<a href="${basePath}/admin/informationNotices/edit?id=${bean.noticesId?default('')}">修改</a>
											<a href="${basePath}/admin/informationNotices/shelves?id=${bean.noticesId?default(0)}"> <#if bean.states! == 1>下架<#else>上架</#if></a>
										</td>
									   </tr>
									   </#list>
									   </#if>
								</tbody>
							</table>
						</div>

						<#assign formUrl="${basePath}/admin/informationNotices/index?">
						 <#include "/include/pagination.html">
					</div>
					<div class="clr"></div>
				</div>
			</div>
		</div>
		<!--底部-->
	</div>
	<!--ad start-->
	<!--ad end-->
	</div>
	</div>
	</div>
	<#include "/include/footer.html"/>
	<script>
	</script>
</body>
</html>